package xyz.scootaloo.draft.demo;

/**
 * @author flutterdash@qq.com
 * @since 2021/5/2 22:27
 */
public class Case1 {

    public static void main(String[] args) {
        X x = new X() {};
        x.pSay();
        x.say();
    }

    interface X {

        default void say() {
            System.out.println("say");
        }

        static void staticSay() {
            System.out.println("static say");
        }

        private void pSay() {
        }

    }

}
